<template>
	<view class="all">
		<c-cell-group>
			<c-cell title="单元格" is-link @click.native="showPopup"></c-cell>
		</c-cell-group>
		<c-popup :show="show" @closePopup="closePopup" icon :overlay="false">
			<view class="popup_text">大叔大婶大所大所大所多</view>
		</c-popup>
		<!-- <c-popup :show="show" position="left" @closePopup="closePopup" icon icon-size="20">
			<view class="popup_text" style="width: 500rpx;">
				<c-cell-group>
					<c-cell title="单元格1" is-link @click.native="closePopup"></c-cell>
					<c-cell title="单元格2" is-link></c-cell>
				</c-cell-group>
			</view>
		</c-popup> -->
	</view>
</template>

<script>
	export default{
		data(){
			return{
				show:false
			}
		},
		methods:{
			showPopup:function(){
				this.show = true
			},
			closePopup:function(){
				this.show = false
			}
		}
	}
</script>

<style>
	.all{
		height: 100vh;
		background: rgb(240 243 246);
	}
	c-cell:last-of-type .top-cell{
		border-bottom:none !important;
	}
</style>
